export function findCityByName(cities, cityName) {
  // 遍历省份
  for (const province of cities) {
    // 遍历省份下的城市
    if (province.subLevelModelList) {
      for (const city of province.subLevelModelList) {
        if (city.name === cityName) {
          return city;
        }
      }
    }
  }
  // 如果没有找到匹配的城市
  return null;
}
